package com.hyt.it.ogt.kq.service.gov.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hyt.core.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 考试结果上传监控表
 * </p>
 *
 * @author huangyh
 * @since 2021-03-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("kw_exam_result_monitor")
@ApiModel(value="kwExamResultMonitor", description="考试结果上传监控表")
public class ExamResultMonitor extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "考试任务id")
    private String taskId;

    @ApiModelProperty(value = "批次id")
    private String timeId;

    @ApiModelProperty(value = "考场id")
    private String roomId;

    @ApiModelProperty(value = "考试类型，1：正式考试，2：模拟考试")
    private Integer examType;

    @ApiModelProperty(value = "包类型")
    private String packageType;

    @ApiModelProperty(value = "包名称")
    private String packageName;

    @ApiModelProperty(value = "包路径")
    private String path;

    @ApiModelProperty(value = "包大小")
    private Long size;

    @ApiModelProperty(value = "时间戳")
    private Long timestamp;

    @ApiModelProperty(value = "是否成功，0：失败，1：成功")
    @TableField("is_success")
    private Boolean success;

}
